#ifndef TYPES_H
#define TYPES_H

#include <string>

struct position
{
    float x;
    float y;

    position() {}
    position(float _x, float _y): x(_x), y(_y) {}
};

struct account
{
    int id;
    std::string username;
    std::string pass_hash;
    int admin;
};

struct character
{
    int id;
    int owner;
    std::string name;
    int type; // class
    int level;
    int xp;
    int money;
    int pos_x;
    int pos_y;
    int map;
};

#endif // TYPES_H
